//==============================================================================
// Qiang_Anim.txt
//==============================================================================

import Chinese_Qiang_shield_anim.txt
import qiang_spear_defines_anim.txt

//==============================================================================
define Golden
{
	SetSelector
	{
		TechLogic none/Golden Horde
		set hotspot
		{
			version
			{
				Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle sfx c pixiu glow old
				TimeOffset 5.00
			}
		}
	}
}

//==============================================================================
define Head
{
	SetSelector
	{
		TechLogic none/Medium Barracks/Heavy Barracks/Champion Barracks
		set hotspot
		{
			version
			{
				Visual Villager C Male Head
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia Head
				ReplaceTexture Infantry G Militia Head/Siege C Fire Lance Head
			}
		}
		set hotspot
		{
			version
			{
				Visual Siege C Fire Lance Head
				ReplaceTexture Siege C Fire Lance Head/Siege C Fire Lance Head Bronze
			}
		}
		set hotspot
		{
			version
			{
				Visual Siege C Fire Lance Head
				ReplaceTexture Siege C Fire Lance Head/Siege C Fire Lance Head Iron
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect BackChest ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Standard
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect BackChest ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Copper
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect BackChest ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Bronze
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect BackChest ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Iron
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Standard
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Copper
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Bronze
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Iron
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Standard
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Copper
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Bronze
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Iron
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		SetSelector
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Infantry N Bondi_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.49 true
					tag SpecificSoundSet 0.39 false ShieldBashWooden checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Standard
					connect RightHand Spear hotspot
					connect BackChest ChineseQiangShield hotspot
					connect TopOfHead Head hotspot
					connect BackChest Golden hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry N Bondi_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.49 true
					tag SpecificSoundSet 0.39 false ShieldBashWooden checkVisible
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Copper
					connect RightHand Spear hotspot
					connect BackChest ChineseQiangShield hotspot
					connect TopOfHead Head hotspot
					connect BackChest Golden hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry N Bondi_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.49 true
					tag SpecificSoundSet 0.39 false ShieldBash checkVisible
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Bronze
					connect RightHand Spear hotspot
					connect BackChest ChineseQiangShield hotspot
					connect TopOfHead Head hotspot
					connect BackChest Golden hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry N Bondi_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.49 true
					tag SpecificSoundSet 0.39 false ShieldBash checkVisible
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Iron
					connect RightHand Spear hotspot
					connect BackChest ChineseQiangShield hotspot
					connect TopOfHead Head hotspot
					connect BackChest Golden hotspot
				}
			}
		}
	}
}

//==============================================================================
anim RangedAttack
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Standard
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Standard
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			// attempting to make 1-handed thrust twice as common
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Standard
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Copper
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Copper
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			// attempting to make 1-handed thrust twice as common
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Copper
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Bronze
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Bronze
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			// attempting to make 1-handed thrust twice as common
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Bronze
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Iron
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Iron
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
			// attempting to make 1-handed thrust twice as common
			version
			{
				Visual Infantry N Bondi_AttackA
	//-- auto generated by the bang animation tool
	//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
	//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer C Crossbowman Iron
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Standard
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Copper
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Bronze
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Iron
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
	}
}

//==============================================================================
anim Flail
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Standard
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Copper
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Bronze
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm ChineseQiangShield hotspot
				ReplaceTexture Infantry G Militia/Archer C Crossbowman Iron
				connect TopOfHead Head hotspot
				connect BackChest Golden hotspot
			}
		}
	}
}
